package com.ddwl.schema.vo.user;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.time.Instant;

/**
 * @Author hemiaojun
 * @Date 2020/11/24 9:43
 */
@Getter
@Setter
@ApiModel("登录日志vo")
public class LoginLogVo {

    @ApiModelProperty("id")
    private String id;

    @ApiModelProperty("用户id")
    private String UserId;

    @ApiModelProperty("用户名（账号）")
    private String userName;

    @ApiModelProperty("用户昵称")
    private String nickName;

    @ApiModelProperty("ip")
    private String ip;

    @ApiModelProperty("设备唯一识别号（微信小程序这个为openId）")
    private String dk;

    @ApiModelProperty("设备类型(web,pc,wx)")
    private String pt;

    @ApiModelProperty("浏览器信息")
    private String userAgent;

    @ApiModelProperty("操作时间")
    private Instant operateTime;
}
